*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    padding: 0;
    font-size: 14px;
    background: #f2f2f2f2;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
ul{
    list-style: none;
}
.search-index{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    /* 固定定位会脱标，所以一定要给宽高，不然就会相对于屏幕大小 */
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: rgb(153, 153, 153);
}
.search{
    flex: 1;
    height: 28px;
    margin: 6px 10px;
    border-radius: 20px;
    background-color: white;
}
.user{
    width: 44px;
    height: 44px;
    text-align: center;
    font-size: 12px;
}
.user::before{
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    background: url(../imges/mine2.png) no-repeat;
    background-size: 21px 123px;
    background-position: 0 -34px;
    margin: 5px auto 0;
}
.focus{
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
.focus img{
    width: 100%;
}
.local-nav{
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;
}
.local-nav li{
    flex: 1;
}
.local-nav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.local-nav li a .local-nav-icon1{
    width: 40px;
    height: 40px;
    background: url(../imges/localnav2.png) 0 0 / 40px 200px;
}
.local-nav li a .local-nav-icon2{
    width: 40px;
    height: 40px;
    background: url(../imges/localnav2.png) 0 -38px / 40px 200px;
}
.local-nav li a .local-nav-icon3{
    width: 40px;
    height: 40px;
    background: url(../imges/localnav2.png) 0 -78px / 40px 200px;
}
.local-nav li a .local-nav-icon4{
    width: 40px;
    height: 40px;
    background: url(../imges/localnav2.png) 0 -116px / 40px 200px;
}
.local-nav li a .local-nav-icon5{
    width: 40px;
    height: 40px;
    background: url(../imges/localnav2.png) 0 -158px / 40px 200px;
}

nav{
    border-radius: 8px;
    margin: 4px 2px;
    overflow: hidden;
    
}
nav .nav-common{
    display: flex;
    align-items: center;
    width: 100%;
    height: 64px;
}
nav .nav-common span{
    padding-left: 20px;
}
nav .nav-item{
    line-height: 64px;
}
nav .nav-item:nth-child(1){
    width: 100%;
    height: 64px;
    border-right: 1px solid white;
}
nav .nav-common:nth-child(1){
    background-image: url(../imges/hotal.png);
    background-position: 30px 30px ;
    background-size: 83px 33px;
    background-repeat: no-repeat;
    background-color: #FB8250;
}
nav .nav-common:nth-child(2){
    background-image: url(../imges/feiji.png);
    background-position: 30px 30px ;
    background-size: 83px 33px;
    background-repeat: no-repeat;
    background-color:#4EA1ED
}
nav .nav-common:nth-child(3){
    background-image: url(../imges/luyou.png);
    background-position: 30px 30px ;
    background-size: 83px 33px;
    background-repeat: no-repeat;
    background-color:#41C58B
}
nav .nav-common:nth-child(2){
    margin: 1px 0;
}
nav .nav-item:first-child{
    flex: 1;
}
nav .nav-item:last-child{
    flex: 2;
    display: flex;
}
nav .subitem{
    flex: 1;
    text-align: center;
    line-height: 64px;
}
nav .subitem:nth-child(-n+2){
    border-right: 1px solid white;
}

.tag{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    
}
.tag li{
    list-style: none;
    flex: 20%;
}
.tag li span::before{
    content: '';
    display: block;
    width: 100%;
    height: 34px;
    background: url(../imges/tag.png) no-repeat;
    background-size: 28px;
    background-position: 24px 5px; 
}
.tag li:nth-child(2) span::before{
    background-position: 24px -25px; 
}
.tag li:nth-child(3) span::before{
    background-position: 24px -53px; 
}
.tag li:nth-child(4) span::before{
    background-position: 24px -81px; 
}
.tag li:nth-child(5) span::before{
    background-position: 24px -109px; 
}
.tag li:nth-child(6) span::before{
    background-position: 24px -137px; 
}
.tag li:nth-child(7) span::before{
    background-position: 24px -165px; 
}
.tag li:nth-child(8) span::before{
    background-position: 24px -193px; 
}
.tag li:nth-child(9) span::before{
    background-position: 24px -221px; 
}
.tag li:nth-child(10) span::before{
    background-position: 24px -249px; 
}

footer{
    display: flex;
    width: 100%;
    height: 64px;
    margin-top: 5px;
    background-color: white;
    border-top: .5px solid rgb(218, 217, 217);
    border-bottom: .5px solid rgb(216, 215, 215);
}

.footer-item{
    flex: 1;
    text-align: center;
}